<?php

namespace app\api\validate;

use think\Validate;

class HomeRequirement extends Validate
{
    protected $rule =   [
        'id|需求id'=>'require|number',
    ];

    protected $scene = [        
        'del'=>['id'],
        'upd'=>['id'],
    ];
}